package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pojo.Manage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ManageMapper extends BaseMapper<Manage> {

    List<Manage> selectAllManage(@Param("manager")String manager,
                                 @Param("start") int start,
                                 @Param("pageSize") int pageSize);//分页查询所有管理员信息

    int selectManageCount(@Param("manager")String manager);//查询管理员数量


}
